com.supermap.ar.areffect

Class ARAnimationManager

  • java.lang.Object
    • com.supermap.ar.areffect.ARAnimationManager


  • public class ARAnimationManager
    extends java.lang.Object
    Animation Manager
    • Method Detail

      • getInstance

        public static ARAnimationManager getInstance()
        Gets the current AnimationManager
        Returns:
        Instance object
      • addAnimationGroup

        public ARAnimationGroup addAnimationGroup(java.lang.String groupName)
        Adds an animation group
        Parameters:
        groupName - the name of the animation group
        Returns:
        the animation groups
      • getAnimationGroupsCount

        public int getAnimationGroupsCount()
        Gets the size of animation collection
        Returns:
        Number
      • getAnimationGroup

        public ARAnimationGroup getAnimationGroup(int index)
        Gets animation groups according to indexes
        Parameters:
        index - index
        Returns:
        the animation groups
      • removeAnimationGroup

        public void removeAnimationGroup(int index)
        Removes animation groups according to indexes
        Parameters:
        index - index
      • removeAnimationGroup

        public void removeAnimationGroup(long id)
        Removes animation groups according to id
        Parameters:
        id - id of animation
      • playAll

        public void playAll()
        Plays all animations
      • playAnimationGroups

        public void playAnimationGroups(int[] indexs)
        Starts to play the animation group according to the index array
        Parameters:
        indexs - index
      • pauseALL

        public void pauseALL()
        Pauses all animations
      • pauseAnimationGroups

        public void pauseAnimationGroups(int[] indexs)
        Stops playing the animation group according to the index array
        Parameters:
        indexs - index
      • resumeALL

        public void resumeALL()
        Restores all animations
      • resumeAnimationGroups

        public void resumeAnimationGroups(int[] indexs)
        Restores playing the animation group according to the index array
        Parameters:
        indexs - index
      • stopALL

        public void stopALL()
        Stops playing all animations
      • stopAnimationGroups

        public void stopAnimationGroups(int[] indexs)
        Stops playing the animation group according to the index array
        Parameters:
        indexs - index
      • stopAnimationGroup

        public void stopAnimationGroup(java.lang.String groupName)
        Stop playing the animation group by indexing the array by name